package pattern11.database;

/**
 * 这边模仿数据库插入和获取数据省略SQL操作细节
 * @author wdl
 */
public class AccessUser implements IUser{
    @Override
    public void insert(User user){
        System.out.println("Access中给User表增加一条记录");
    }

    @Override
    public User getUser(int id){
        System.out.println("在Access中根据id获取一条User表记录");
        return null;
    }
}
